package com.itheima.reggie.service;

import com.itheima.reggie.entity.Page;
import com.itheima.reggie.entity.SetmealDish;
import com.itheima.reggie.entity.dto.SetmealDto;
import com.itheima.reggie.entity.vo.SetmealDishVo;

import java.util.List;

public interface SetmealService {
    // 保存套餐
    void save(SetmealDto setmealDto);

    Page<SetmealDto> findByPage(Integer page, Integer pageSize, String name);

    // 作用：根据id批量删除套餐
    void deleteByIds(List<Long> ids);

    List<SetmealDto> list(Long categoryId, Integer status);

    List<SetmealDishVo> setmealDishList(Long setmealId);
}
